package com.yww.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 统计
 */

public interface EcartsMapper {

    @Select("select name from (select name ,count(*) num from student group by name) b ")
    List<String> getintName();

    @Select("select num from (select name ,count(*) num from student group by name) b")
    List<Integer> getintNum();
}
